﻿Public Class Comentario

    Private _idComentario
    Public Property idComentario() As Integer
        Get
            Return _idComentario
        End Get
        Set(ByVal value As Integer)
            _idComentario = value
        End Set
    End Property

    Private _idInmueble
    Public Property idInmueble() As Integer
        Get
            Return _idInmueble
        End Get
        Set(ByVal value As Integer)
            _idInmueble = value
        End Set
    End Property

    Private _idEstudiante
    Public Property idEstudiante() As Integer
        Get
            Return _idEstudiante
        End Get
        Set(ByVal value As Integer)
            _idEstudiante = value
        End Set
    End Property

    Private _Contenido
    Public Property Contenido() As String
        Get
            Return _Contenido
        End Get
        Set(ByVal value As String)
            _Contenido = value
        End Set
    End Property


    'Estudiante y Inmueble debe tener un collection Comentario

    Private _Comentario As Comentario
    Public Property Comentario() As Comentario
        Get
            Return _Comentario
        End Get
        Set(ByVal value As Comentario)
            _Comentario = value
        End Set
    End Property


End Class